<template>
  <div class="like-page">
    <div>
       <van-nav-bar title="城市列表" left-arrow @click-left="goin" />
      <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fmobile%2F2020-11-13%2F5fae2272067f4.jpg&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670951765&t=d44e7c029474812329ada74723df2b7f" alt="">
    </div>
  </div>
</template>

<script>
import { Dialog } from 'vant'
import router from '@/router'

export default {
  name: 'like-page',
  data () {
    return {

    }
  },
  methods: {
    goin () {
      Dialog.confirm({
        title: '提示',
        message: '这个真的不会哇，要么就算了吧',
        confirmButtonText: '好的',
        confirmButtonColor: '#108ee9',
        cancelButtonText: '不可以',
        cancelButtonColor: '#000'

      }).then(() => {
        router.go(-1)
      }).catch(() => {
        // on cancel
        this.goin()
      })
    }

  }
}
</script>

<style lang="less" scoped>
img{
  margin-top: 30px;
  width:  100%;
}
</style>
